package com.tencreat.domain.mall.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class MallConsultRequDTO {
    private String title;
    /** 创建时间 */
    @ApiModelProperty("注册时间开始")
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(exist = false)
    private LocalDateTime startTime;

    @ApiModelProperty("注册时间结束")
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(exist = false)
    private LocalDateTime endTime;
    @ApiModelProperty("上架状态 0|下架 1|上架")
    private Long state;
    private String classify;
    private Integer pageNum;
    private Integer pageSize;

    @ApiModelProperty("排序字段")
    private String sortStr;

    @ApiModelProperty("排序规则")
    private String sortDesc;
}
